package nonDefaultPackage;

public class Goal {
	
	/**
	 * constructor is passed match, player, scoring minute and a boolean whether the goal is own goal 
	 * @param m
	 * @param p
	 * @param minute
	 * @param ownGoal
	 */
	public Goal(Match m, Player p, int minute, boolean ownGoal){
		
	}
	
	/**
	 * if of the goal from Database
	 * @return
	 */
	public int getGoalId(){
		return 0;
	}
	/**
	 * returns match object where the goal was scored
	 * @return
	 */
	public Match getMatch(){
		return null;
	}
	
	/**
	 * return a scorer player object
	 * @return
	 */
	public Player getScoringPlayer(){
		return null;
	}
	/**
	 * on which minute was the goal scored
	 * @return
	 */
	public int getMinute(){
		return 0;
	}
	
	/**
	 * shows if the goals is a own goal
	 * @return
	 */
	public boolean isOwnGoal(){
		return false;
	}
	

}
